]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agoappDisplay: Add drop shadow to icons
Florian Müllner [Mon, 31 Aug 2020 18:54:37 +0000 (20:54 +0200)]
appDisplay: Add drop shadow to icons

The shadow is barely visible on dark backgrounds, but it's not
wrong to be consistent with Settings, Software and GNOME Classic.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3123

6 years agoUpdate Serbian translation
Марко Костић [Mon, 31 Aug 2020 08:25:35 +0000 (08:25 +0000)]
Update Serbian translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 31 Aug 2020 08:17:01 +0000 (08:17 +0000)]
Update Indonesian translation

6 years agoUpdate Korean translation
Changwoo Ryu [Sun, 30 Aug 2020 07:46:04 +0000 (07:46 +0000)]
Update Korean translation

6 years agoUpdate Friulian translation
Fabio Tomat [Fri, 28 Aug 2020 10:43:42 +0000 (10:43 +0000)]
Update Friulian translation

6 years agoUpdated Czech translation
Marek Černocký [Fri, 28 Aug 2020 08:11:00 +0000 (10:11 +0200)]
Updated Czech translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 27 Aug 2020 02:59:04 +0000 (02:59 +0000)]
Update Indonesian translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Wed, 26 Aug 2020 19:33:56 +0000 (22:33 +0300)]
Updated Lithuanian translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Wed, 26 Aug 2020 12:33:30 +0000 (12:33 +0000)]
Update Indonesian translation

6 years agoUpdate Persian translation
Danial Behzadi [Tue, 25 Aug 2020 18:03:18 +0000 (19:03 +0100)]
Update Persian translation

6 years agoUpdate Dutch translation
Nathan Follens [Tue, 25 Aug 2020 15:35:47 +0000 (15:35 +0000)]
Update Dutch translation

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Tue, 25 Aug 2020 01:53:19 +0000 (01:53 +0000)]
Update Brazilian Portuguese translation

6 years agoUpdate British English translation
Zander Brown [Mon, 24 Aug 2020 18:20:23 +0000 (18:20 +0000)]
Update British English translation

6 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 24 Aug 2020 17:17:19 +0000 (17:17 +0000)]
Update Ukrainian translation

6 years agoBump version to 3.37.91
Florian Müllner [Mon, 24 Aug 2020 15:53:14 +0000 (17:53 +0200)]
Bump version to 3.37.91

Update NEWS.

6 years agostatus/bluetooth: Fix label for >1 connected devices
Florian Müllner [Fri, 21 Aug 2020 19:30:03 +0000 (21:30 +0200)]
status/bluetooth: Fix label for >1 connected devices

Eeeks, we want two strings here, not one with embedded double quotes.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3073

6 years agounlockDialog: Defend against absence of blur effect
Zephaniah E. Loss-Cutler-Hull [Sat, 15 Aug 2020 10:23:27 +0000 (03:23 -0700)]
unlockDialog: Defend against absence of blur effect

widget.get_effect(...) can return null while locking the screen, resulting
in a TypeError. In this situation the screen ends up black with a cursor
but never going to sleep, and moving the mouse brings the old screen
contents up but does not allow unlocking.

unlockDialog.js assumes that widget.get_effect will return non-null,
but other places such as getWindowDimmer in windowManager.js go out of
their way to be more careful.

[smcv: Add commit message, remove hard tabs, add missing semicolon]

Resolves: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3071
Bug-Debian: https://bugs.debian.org/968440

6 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 24 Aug 2020 10:07:07 +0000 (12:07 +0200)]
Updated Spanish translation

6 years agoUpdate Chinese (China) translation
Boyuan Yang [Sun, 23 Aug 2020 15:14:07 +0000 (15:14 +0000)]
Update Chinese (China) translation

6 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 23 Aug 2020 11:21:16 +0000 (13:21 +0200)]
Updated Slovenian translation

6 years agocalendar: Vertically center align week numbers
Joonas Henriksson [Mon, 17 Aug 2020 14:15:25 +0000 (17:15 +0300)]
calendar: Vertically center align week numbers

The labels were previously aligned by using top-padding, which was
relative to font-size, and therefore didn't always align the text
correctly when font scaling was enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1415

6 years ago*: Fix spelling mistakes found by codespell
Björn Daase [Wed, 19 Aug 2020 09:26:11 +0000 (11:26 +0200)]
*: Fix spelling mistakes found by codespell

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1416

6 years agodata: Fix description of org.gnome.Shell.target
Benjamin Berg [Thu, 20 Aug 2020 08:09:00 +0000 (10:09 +0200)]
data: Fix description of org.gnome.Shell.target

The target is generic between X11 and wayland now, so remove the
reference to wayland.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1418

6 years agodata: Only unset environment when the service actually ran
Benjamin Berg [Thu, 20 Aug 2020 08:08:01 +0000 (10:08 +0200)]
data: Only unset environment when the service actually ran

ExecStopPost= is executed even if ExecCondition= fails. As such, we need
to add a guard as we would otherwise clear environment variables on X11
sessions (rendering them utterly useless).

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1418

6 years agoUpdate Croatian translation
Goran Vidović [Wed, 19 Aug 2020 22:33:40 +0000 (22:33 +0000)]
Update Croatian translation

6 years agoUpdate Croatian translation
Goran Vidović [Wed, 19 Aug 2020 22:32:20 +0000 (22:32 +0000)]
Update Croatian translation

6 years agoUpdate Finnish translation
Jiri Grönroos [Tue, 18 Aug 2020 19:11:26 +0000 (19:11 +0000)]
Update Finnish translation

6 years agoUpdate Persian translation
Danial Behzadi [Tue, 18 Aug 2020 17:19:24 +0000 (17:19 +0000)]
Update Persian translation

6 years agopolkitAgent: Add missing space to log string
Will Thompson [Mon, 17 Aug 2020 07:20:33 +0000 (08:20 +0100)]
polkitAgent: Add missing space to log string

In my journal, I have:

> JS LOG: polkitAuthenticationAgent: Received 2identities that can be
> used for authentication. Only considering one.

There should be a space after the number.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1413

6 years agoauthPrompt: Properly get oVirt service name
Andre Moreira Magalhaes [Mon, 17 Aug 2020 21:41:04 +0000 (18:41 -0300)]
authPrompt: Properly get oVirt service name

Commit 809f820cd moved the definition of OVIRT_SERVICE_NAME to
'js/gdm/oVirt.js' but missed updating one occurrence. This
commit fixes it.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1414

6 years agoUpdate Japanese translation
sicklylife [Tue, 18 Aug 2020 10:03:28 +0000 (10:03 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Tue, 18 Aug 2020 09:46:34 +0000 (09:46 +0000)]
Update Japanese translation

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 16 Aug 2020 23:26:00 +0000 (23:26 +0000)]
Update Turkish translation

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sun, 16 Aug 2020 10:11:59 +0000 (10:11 +0000)]
Update Brazilian Portuguese translation

6 years agoUpdate Polish translation
Piotr Drąg [Sun, 16 Aug 2020 09:53:46 +0000 (11:53 +0200)]
Update Polish translation

6 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 15 Aug 2020 18:11:21 +0000 (18:11 +0000)]
Update Kazakh translation

6 years agoUpdate Bengali (India) translation
Akarshan Biswas [Sat, 15 Aug 2020 11:43:38 +0000 (11:43 +0000)]
Update Bengali (India) translation

6 years agoUpdate Bengali (India) translation
Akarshan Biswas [Fri, 14 Aug 2020 15:48:13 +0000 (15:48 +0000)]
Update Bengali (India) translation

6 years agoUpdate Romanian translation
Florentina Mușat [Fri, 14 Aug 2020 15:48:03 +0000 (15:48 +0000)]
Update Romanian translation

6 years agoappDisplay: Cache app ids in FolderView
Georges Basile Stavracas Neto [Thu, 13 Aug 2020 23:20:52 +0000 (20:20 -0300)]
appDisplay: Cache app ids in FolderView

Instead of reading a GSettings and building the app ids list
every single time FolderView needs to check for something,
cache it before redisplay and reuse this cached list everywhere.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1409

6 years agonetworkAgent: Add missing Uint8Array => string conversion
Florian Müllner [Thu, 13 Aug 2020 21:37:31 +0000 (23:37 +0200)]
networkAgent: Add missing Uint8Array => string conversion

When promisifying async operations in commit 764527c8c, the
finish function for read_line_async() was sneakily changed from
read_line_finish_utf8() to read_line_finish().

That is, the call returns a Uint8Array now that requires an
explicit conversion to string.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1407

6 years agocleanup: Remove old compatibility code
Florian Müllner [Thu, 13 Aug 2020 21:35:27 +0000 (23:35 +0200)]
cleanup: Remove old compatibility code

Since gjs moved to mozjs60, return values of int8_t arrays can
no longer be treated as strings. We originally made the conversion
conditional to keep working with the (then) stable gjs release.

That was two years ago and we require a more recent gjs nowadays,
so there's no good reason for keeping the old code path.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1407

6 years agost: Remove invalid introspection annotation
Florian Müllner [Thu, 13 Aug 2020 22:04:38 +0000 (00:04 +0200)]
st: Remove invalid introspection annotation

(optional) is only valid for (out) or (inout) parameters (that are
marked as such).

However GError** arguments appear as throws="1" in the GIR anyway
instead of an explicit parameter, so we don't need any annotation
at all here.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1408

6 years agost: Fix typo in doc comment
Florian Müllner [Thu, 13 Aug 2020 22:04:38 +0000 (00:04 +0200)]
st: Fix typo in doc comment

Spotted by g-ir-scanner.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1408

6 years agoUpdate Galician translations
Fran Dieguez [Thu, 13 Aug 2020 22:39:36 +0000 (00:39 +0200)]
Update Galician translations

6 years agoiconGrid: Properly remove pages
Georges Basile Stavracas Neto [Thu, 13 Aug 2020 20:58:51 +0000 (17:58 -0300)]
iconGrid: Properly remove pages

When the last item of an IconGridLayout page is removed,
the page itself is removed too. However, the indexes of
items of next pages are not updated, which mess up the
layout manager state.

Update the page index of the items at forward pages when
removing a page.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1406

6 years agost/test-theme: Use stage from mutter
Jonas Ådahl [Thu, 9 Jul 2020 20:14:15 +0000 (22:14 +0200)]
st/test-theme: Use stage from mutter

Clutter application style stages not supported anymore.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1359

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 13 Aug 2020 08:41:32 +0000 (10:41 +0200)]
Updated Spanish translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 13 Aug 2020 08:33:26 +0000 (10:33 +0200)]
Updated Spanish translation

6 years agoUpdate Catalan translation
Jordi Mas [Thu, 13 Aug 2020 07:26:56 +0000 (09:26 +0200)]
Update Catalan translation

6 years agoUpdated Galician translations
Fran Dieguez [Wed, 12 Aug 2020 23:40:06 +0000 (01:40 +0200)]
Updated Galician translations

6 years agolibcroco: Limit recursion in block and any productions (CVE-2020-12825)
Michael Catanzaro [Wed, 12 Aug 2020 18:54:15 +0000 (13:54 -0500)]
libcroco: Limit recursion in block and any productions (CVE-2020-12825)

If we don't have any limits, we can recurse forever and overflow the
stack.

This is per https://gitlab.gnome.org/Archive/libcroco/-/issues/8

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1404

6 years agoperf: Add basic run tests
Florian Müllner [Fri, 31 Jul 2020 01:42:01 +0000 (03:42 +0200)]
perf: Add basic run tests

While the performance framework was originally written to collect
performance metrics, driving the shell by an automated script is
also useful to ensure that basic functionality is working.

Add such a basic test, initially checking top bar menus, notifications
and the overview.

Eventually it would be nice to separate the automatic scripting from
gathering performance metrics, but IMHO that can wait until we switch
from gjs' custom imports system to ES modules.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1396

6 years agoperf-tool: Expose --x11 option
Florian Müllner [Tue, 4 Aug 2020 18:41:31 +0000 (20:41 +0200)]
perf-tool: Expose --x11 option

Running with the X11 backend is no longer as easy as not specifying
wayland, so expose mutter's --x11 option to allow enforcing the X11
backend for testing.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1396

6 years agoenvironment: Mark transitions as "work"
Florian Müllner [Mon, 3 Aug 2020 16:33:57 +0000 (18:33 +0200)]
environment: Mark transitions as "work"

global.run_at_leisure() is used from automated scripts to schedule
a callback when the shell is idle. However since we moved away from
Tweener, animations are no longer taken into account; fix this by
marking transitions as "work" if the convenience ease() functions
are used.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1396

6 years agoscripting: Switch to standard async/await pattern
Florian Müllner [Thu, 30 Jul 2020 16:41:11 +0000 (18:41 +0200)]
scripting: Switch to standard async/await pattern

The original scripting framework was based on SpiderMonkey's
pre-standard generators, and was simply translated to the
corresponding standard syntax when updating it to work with
recent JS versions.

We can do even better by using the standard async/await pattern
instead of generators/yield.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1396

6 years agoBump version to 3.37.90
Florian Müllner [Tue, 11 Aug 2020 15:24:24 +0000 (17:24 +0200)]
Bump version to 3.37.90

Update NEWS.

6 years agoUpdate Basque translation
Asier Sarasua Garmendia [Tue, 11 Aug 2020 14:01:34 +0000 (14:01 +0000)]
Update Basque translation

6 years agodbusServices/screencast: Quote filename in pipeline
Florian Müllner [Mon, 10 Aug 2020 23:34:03 +0000 (01:34 +0200)]
dbusServices/screencast: Quote filename in pipeline

Otherwise Gst fails to parse the pipeline string if the filename
contains spaces, as all words following the first are interpreted
as additional Gst elements.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1403

6 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 11 Aug 2020 06:24:22 +0000 (06:24 +0000)]
Update Ukrainian translation

6 years agoendSessionDialog: default to not installing updates on low battery
Michael Catanzaro [Sat, 25 Jul 2020 00:08:16 +0000 (19:08 -0500)]
endSessionDialog: default to not installing updates on low battery

If the user's battery power is low, we should not check the checkbox to
install updates by default. Rationale: if the user's battery is not low,
it's very unlikely to run out during a normal system upgrade. Low
battery is defined as any level below 30%, matching our battery status
indicator.

We'll also change the battery warning to only display when battery is
actually low. However, we will still always warn on battery for full
system upgrades, since these are expected to take a long time.

Future improvement: it would be nice to make the checkbox insensitive
when on low power. However, I don't think we currently have a proper
style for insensitive checkboxes. I was unable to make it look good.

Lastly, note that I did not test this on a laptop. I tested this by
mocking the return values of _isDischargingBattery() and
_isBatteryLow().

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2717

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Mon, 10 Aug 2020 22:14:14 +0000 (22:14 +0000)]
Update Turkish translation

6 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 10 Aug 2020 18:08:16 +0000 (18:08 +0000)]
Update Ukrainian translation

6 years agostatus/system: Add separate 'Restart' item
Florian Müllner [Wed, 1 Jul 2020 15:15:48 +0000 (17:15 +0200)]
status/system: Add separate 'Restart' item

A side effect of removing the action buttons in favor of a regular
submenu is that we are a lot less constrained by size. So instead
of lumping "Restart" in with "Power Off", make it a separate menu
item.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agostatus/system: Swap power- and user-related items in session menu
Florian Müllner [Wed, 1 Jul 2020 15:18:16 +0000 (17:18 +0200)]
status/system: Swap power- and user-related items in session menu

Quoting Allan:
"It's been niggling me that log out is closest to hand,
as opposed to suspend"

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agostatus/system: Use new indentation style
Florian Müllner [Wed, 1 Jul 2020 15:38:41 +0000 (17:38 +0200)]
status/system: Use new indentation style

... before moving stuff around.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agosytemActions: Add separate 'restart' action
Florian Müllner [Wed, 1 Jul 2020 15:02:15 +0000 (17:02 +0200)]
sytemActions: Add separate 'restart' action

In order to split restart and power-off in the system menu, we need
to separate the underlying actions as well.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agosystemActions: Reindent properties
Florian Müllner [Wed, 1 Jul 2020 14:55:59 +0000 (16:55 +0200)]
systemActions: Reindent properties

... so we can add another property using the new coding style
without making surrounding code terribly inconsistent.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agoendSessionDialog: Remove "Restart" option from shutdown dialog
Florian Müllner [Wed, 1 Jul 2020 14:50:02 +0000 (16:50 +0200)]
endSessionDialog: Remove "Restart" option from shutdown dialog

Restart will be exposed as a separate action instead of being part
of the shutdown dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agoendSessionDialog: Support updates in restart dialog
Florian Müllner [Wed, 1 Jul 2020 14:49:17 +0000 (16:49 +0200)]
endSessionDialog: Support updates in restart dialog

We will split off restart from the existing shutdown dialog, and
instead offer it as a separate menu item in the session submenu.
But before doing that, make sure that the existing restart dialog
exposes the same feature set as power off.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agoendSessionDialog: Reindent dialog configs
Florian Müllner [Wed, 1 Jul 2020 14:44:16 +0000 (16:44 +0200)]
endSessionDialog: Reindent dialog configs

We are about to make some changes, so make them conform to the
new indentation style first.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Mon, 10 Aug 2020 11:53:38 +0000 (11:53 +0000)]
Update Brazilian Portuguese translation

6 years agokeyboard: Fix missing icons in Keypad
Emre Uyguroglu [Thu, 6 Aug 2020 10:28:03 +0000 (13:28 +0300)]
keyboard: Fix missing icons in Keypad

This is more fallout from commit 57669bca1b2.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3007

6 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sat, 8 Aug 2020 14:57:38 +0000 (14:57 +0000)]
Update Ukrainian translation

6 years agoSt Documentation: add and improve documentation for public classes
Andy Holmes [Wed, 20 May 2020 23:50:09 +0000 (16:50 -0700)]
St Documentation: add and improve documentation for public classes

Much of St is undocumented, aside from input/output arguments. This is
no doubt because a lot of it parallels Gtk closely, but is worth
improving since many new programmers are not familiar with Gtk.

closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2983

6 years agoci: Remove pot file test
Florian Müllner [Fri, 7 Aug 2020 19:35:35 +0000 (21:35 +0200)]
ci: Remove pot file test

A recent Docker image update broke the test, as xgettext now prints
the following warning:

warning: a fallback ITS rule file '/usr/share/gettext-0.21/its/metainfo.its'
is used; it may not be in sync with the upstream

That is completely unrelated to what the test is meant to catch and
could be fixed by adding appstream to the image, but considering that

 - the test didn't actually catch the last template string regression
 - we no longer allow template strings in files that include translatable
   strings (and enforce that with a CI job)
 - as of gettext 0.20.2, the template handling really really is fixed
   (we'll see)

let's remove the test rather than piling up more stuff in the container
image.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1399

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Fri, 7 Aug 2020 14:35:48 +0000 (14:35 +0000)]
Update Turkish translation

6 years agoshell-screenshot: Change to use clutter_stage_paint_to*() API
Jonas Ådahl [Thu, 30 Jul 2020 07:51:06 +0000 (09:51 +0200)]
shell-screenshot: Change to use clutter_stage_paint_to*() API

This eliminates the need to wait for redraws, drawing cursors, and
stiching together cairo images in case the screenshot covers multiple
monitors.

All of that is now handled by mutter itself.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1383

6 years agoendSessionDialog: Support rebooting into the bootloader menu aka ("Boot Options")
Hans de Goede [Wed, 15 Aug 2018 13:03:56 +0000 (15:03 +0200)]
endSessionDialog: Support rebooting into the bootloader menu aka ("Boot Options")

This implements the "Alt" behavior for the "Reboot" button as outlined in
the design here: https://wiki.gnome.org/Design/OS/BootOptions

Note I've tried implemeting this with the AltSwitcher class from
js/ui/status/system.js first, but that puts the button in a St.Bin()
which causes the button to think it is the only button on the dialog
and makes it have rounded corners on both of its bottom corners.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/199

6 years agoendSessionDialog: Immediately add buttons to the dialog
Hans de Goede [Wed, 15 Aug 2018 12:26:19 +0000 (14:26 +0200)]
endSessionDialog: Immediately add buttons to the dialog

Immediately add buttons to the dialog instead of first building an
array of button-info structs.

This is a preparation patch for adding support changing the "Reboot"
button into a "Boot Options" button when Alt is pressed.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/199

6 years agoLoginManager: Add canRebootToBootLoaderMenu and setRebootToBootLoaderMenu methods
Hans de Goede [Wed, 29 Jul 2020 12:22:58 +0000 (14:22 +0200)]
LoginManager: Add canRebootToBootLoaderMenu and setRebootToBootLoaderMenu methods

Add wrappers for the new logind Manager CanRebootToBootLoaderMenu and
SetRebootToBootLoaderMenu dbus methods.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/199

6 years agoci: Explicitly specify job dependencies
Florian Müllner [Mon, 3 Aug 2020 21:41:08 +0000 (23:41 +0200)]
ci: Explicitly specify job dependencies

We can speed up CI a bit by allowing build jobs to run in parallel
with review jobs, and don't have test jobs wait for the flatpak build.

See https://gitlab.gnome.org/help/ci/yaml/README.md#needs for details.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1391

6 years agocleanup: remove controversial naming
Olivier Fourdan [Tue, 4 Aug 2020 08:39:29 +0000 (10:39 +0200)]
cleanup: remove controversial naming

Replace "whitelist" and "blacklist" with "allow" and "deny" in variable
naming, which better represents the purpose of those variables.

There is no functional change.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1393

6 years agost/private: Multiply position in fb coordinates with resource scale
Jonas Dreßler [Sun, 26 Jul 2020 11:26:20 +0000 (13:26 +0200)]
st/private: Multiply position in fb coordinates with resource scale

The framebuffer we use for rendering shadows is scaled by the resource
scale, that means we also need to offset coordinates when translating
them to the framebuffers coordinate system.

So far we forgot to do that when translating the framebuffer using the
position of the actor, which lead to small rendering bugs of
text-shadows for actors allocated at non-zero origins. To fix that,
simply multiply those positions with the actors resource scale.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1390

6 years agoappDisplay: Return false in acceptDrop when not accepting the drop
Jonas Dreßler [Mon, 3 Aug 2020 19:47:42 +0000 (21:47 +0200)]
appDisplay: Return false in acceptDrop when not accepting the drop

Fix what is probably a copy-paste error and return false instead of a
CONTINUE DragMotionResult which is only meant for dragMotion events, not
drop events. This makes sure we don't create a folder when dropping an
app over the drag leeways of another icon.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1389

6 years agostyle: Swap text-align in RTL locales
Florian Müllner [Mon, 3 Aug 2020 14:38:17 +0000 (16:38 +0200)]
style: Swap text-align in RTL locales

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3037

6 years agostatus/network: Use D-Bus to launch Settings panels
Florian Müllner [Fri, 31 Jul 2020 18:40:36 +0000 (20:40 +0200)]
status/network: Use D-Bus to launch Settings panels

For more obscure network configurations, we need to launch the
corresponding Settings panel with additional parameters, so we
cannot simply launch the .desktop file.

However we can do better than spawning a command line: Control center
exposes an application action we can use instead, so the process is
launched with the appropriate activation environment and startup
notification support.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1385

6 years agorfkill: Always sync state on construction
Andre Moreira Magalhaes [Fri, 31 Jul 2020 21:11:48 +0000 (18:11 -0300)]
rfkill: Always sync state on construction

This fixes an issue where the indicator can be out of sync until the
RfkillManager (used by it) properties change.

The problem is that multiple instances of the indicator will use
the same RfkillManager instance (getRfkillManager() returns a singleton)
that only guarantees to emit the changed signal in two scenarios:
when the D-Bus proxy connects and when the proxy properties change.

If by the time an indicator is instantiated the RfkillManager's D-Bus
proxy is already connected, that indicator would only sync its state
when the RfkillManager properties change.

Let's fix that by always syncing the state on construction - in the worst
case scenario the RfkillManager's D-Bus proxy won't have connected yet
and the indicator state will be temporarily out of sync but once it gets
connected the indicator will sync again with the correct state.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1386

6 years agoUpdate POTFILES.skip
Piotr Drąg [Sat, 1 Aug 2020 12:31:42 +0000 (14:31 +0200)]
Update POTFILES.skip

It silences false positives on https://l10n.gnome.org/module/gnome-shell/

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1387

6 years agodata: Place the shell into session.slice when using systemd
Benjamin Berg [Wed, 29 Jul 2020 14:59:32 +0000 (16:59 +0200)]
data: Place the shell into session.slice when using systemd

This way we conform more to https://systemd.io/DESKTOP_ENVIRONMENTS

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895

6 years agowindowManager: Wait for X11 services using systemd
Benjamin Berg [Fri, 13 Dec 2019 18:07:16 +0000 (19:07 +0100)]
windowManager: Wait for X11 services using systemd

To do this, we now wait for the start/stop job to complete. We also have
two targets in gnome-session to ensure that everything is working as
expected.

In order to start the services, we simply request the
gnome-session-x11-services-ready.target unit, and wait for it to become
available. To stop, we use the gnome-session-x11-services.target unit
which should stop all services in a way that is entirely race free.

This requires both gnome-session and gnome-settings-daemon changes to
work (which are in the corresponding merge requests).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895

6 years agodata: Create generic org.gnome.Shell.target
Benjamin Berg [Tue, 9 Jun 2020 11:01:39 +0000 (13:01 +0200)]
data: Create generic org.gnome.Shell.target

Move the GNOME shell service file adapation for x11/wayland into the
target/service files. This means that the session definition can simply
pull in org.gnome.Shell.target, without having to care about whether it
is starting an X11 or wayland session.

Note that this currently requires fork'ing to do the test. This will
however not be needed in the long term when ConditionEnvironment becomes
available (see https://github.com/systemd/systemd/pull/15817).

We technically do not need to use template units. But doing so means
that the unit can be translated to the app id more easily (though it is
not yet completely clear how this should look like in the long term).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895

6 years agodata: Remove unused, commented and obsolete Conflicts lines
Benjamin Berg [Thu, 13 Feb 2020 17:41:30 +0000 (18:41 +0100)]
data: Remove unused, commented and obsolete Conflicts lines

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895

6 years agodata: Use org.gnome.Shell prefix for systemd units
Benjamin Berg [Thu, 13 Feb 2020 17:39:32 +0000 (18:39 +0100)]
data: Use org.gnome.Shell prefix for systemd units

In general we want to move towards using reverse domain names for
systemd units. Doing this also means we have a consistent name between
desktop file and systemd unit, allowing us to create a generator that
pulls in the unit as defined in the sessions RequiredComponents.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895

6 years agoMove screencasting into a separate service process
Jonas Ådahl [Thu, 23 Apr 2020 18:46:44 +0000 (20:46 +0200)]
Move screencasting into a separate service process

Move the screencasting into a separate D-Bus service process, using
PipeWire instead of Clutter API. The service is implemented in
Javascript using the dbusService.js helper, and implements the same API
as was done by screencast.js and the corresponding C code.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1372

6 years agointrospect: Introspect screen size
Jonas Ådahl [Wed, 22 Jul 2020 16:38:22 +0000 (18:38 +0200)]
introspect: Introspect screen size

To be used by the screen cast service.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1372

6 years agodbusService: Queue shutdown check on startup
Jonas Ådahl [Wed, 22 Jul 2020 16:22:38 +0000 (18:22 +0200)]
dbusService: Queue shutdown check on startup

If something started the service, but crashed before managing to make a
method call, we'd end up with the service running indefinitely. Fix this
by queueing a shutdown check immediately on startup.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1372

6 years agostatus/remote-access: Visualize recordings as screen recording
Jonas Ådahl [Tue, 21 Apr 2020 16:06:06 +0000 (18:06 +0200)]
status/remote-access: Visualize recordings as screen recording

If a remote access is marked as a recording, visualize it the same way
as a built in recording. Also don't stop it if there is an actual screen
sharing going on, so that one can use a plain "recording" while still
disabling what is an actual screen sharing.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1372

6 years agobackground: Mark pattern backgrounds as loaded
Carlos Garnacho [Thu, 30 Jul 2020 09:45:56 +0000 (11:45 +0200)]
background: Mark pattern backgrounds as loaded

Otherwise we don't let GNOME Shell startup to proceed. Noticed
by accidentally running on the memory GSettings backend.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1381

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Wed, 29 Jul 2020 21:57:19 +0000 (21:57 +0000)]
Update Turkish translation